package com.itlong.cloud.property.service.impl;

import com.itlong.cloud.POJO.VO.property.PropertyUiInfoVO;
import com.itlong.cloud.property.dao.IPropertyUiDao;
import com.itlong.cloud.property.service.IPropertyUiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * <desc>
 *      物业-UI查询实现接口。
 * <desc/>
 *
 * @createDate 2018-03-28.
 */
@Service
public class IPropertyUiServiceImpl implements IPropertyUiService {


    @Autowired
    IPropertyUiDao iPropertyUiDao;
    /**
     * <desc>
     *      UI信息获取。
     * <desc/>
     *
     * @param projectId
     * @return
     * @author shengen.T
     * @createDate 2018-03-28
     */
    @Override
    @Transactional(propagation = Propagation.NOT_SUPPORTED)
    public PropertyUiInfoVO getUiInfo(String projectId) throws Exception{
        return iPropertyUiDao.getUiInfo(projectId);
    }
}
